from manim import *
class app(Scene):
    def construct(self):
        circle = Circle()
        square = Square()
        
        self.play(Create(square))
        self.wait(2)
        self.play(square.animate.rotate(PI/4))
        self.wait(2)
        self.play(Transform(square, circle))
        self.wait(2)
        self.play(circle.animate.set_fill(PINK, opacity=0.5))